package com.jic.manager.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.manager.entity.CmsCategory;

import java.util.List;

/**
* CMS分类
* @author : 
* @email : 
* @since : 2020-03-04 11:59:27
* @version : v1.0.0
*/
public interface CmsCategoryService {

    long insert(CmsCategory cmsCategory);

    long delete(Long id);

    long update(CmsCategory cmsCategory);

    CmsCategory queryByPrimaryKey(Long id);

    List<CmsCategory> query(CmsCategory cmsCategory);

    PageResult<CmsCategory> queryPage(CmsCategory cmsCategory, Page pageQuery);

}